﻿using System;
using System.Collections.Generic;
using System.Text;


using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public class TW_mdc_Insplan : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_mdc_InsPlan", "ID");

        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("TW_mdc_InsPlan", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("TW_mdc_InsPlan", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("TW_mdc_InsPlan", "UserName");
        [Column]
        public int Sheets { get { return _Sheets; } set { _Sheets = value; EntityState.FieldChange("Sheets"); } } private int _Sheets; public static FieldInfo sheets = new FieldInfo("TW_mdc_InsPlan", "Sheets");
        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } } private int _No; public static FieldInfo no = new FieldInfo("TW_mdc_InsPlan", "No");
        [Column]
        public string QN_QL { get { return _QN_QL; } set { _QN_QL = value; EntityState.FieldChange("QN_QL"); } } private string _QN_QL; public static FieldInfo qN_QL = new FieldInfo("TW_mdc_InsPlan", "QN_QL");
        [Column]
        public string MstrChar_Plant { get { return _MstrChar_Plant; } set { _MstrChar_Plant = value; EntityState.FieldChange("MstrChar_Plant"); } } private string _MstrChar_Plant; public static FieldInfo mstrChar_Plant = new FieldInfo("TW_mdc_InsPlan", "MstrChar_Plant");
        [Column]
        public string MstrChar_Code { get { return _MstrChar_Code; } set { _MstrChar_Code = value; EntityState.FieldChange("MstrChar_Code"); } } private string _MstrChar_Code; public static FieldInfo mstrChar_Code = new FieldInfo("TW_mdc_InsPlan", "MstrChar_Code");
        [Column]
        public string Lower_SpecLimit { get { return _Lower_SpecLimit; } set { _Lower_SpecLimit = value; EntityState.FieldChange("Lower_SpecLimit"); } } private string _Lower_SpecLimit; public static FieldInfo lower_SpecLimit = new FieldInfo("TW_mdc_InsPlan", "Lower_SpecLimit");
        [Column]
        public string Upper_SpecLimit { get { return _Upper_SpecLimit; } set { _Upper_SpecLimit = value; EntityState.FieldChange("Upper_SpecLimit"); } } private string _Upper_SpecLimit; public static FieldInfo upper_SpecLimit = new FieldInfo("TW_mdc_InsPlan", "Upper_SpecLimit");
        [Column]
        public string Decimal_Number { get { return _Decimal_Number; } set { _Decimal_Number = value; EntityState.FieldChange("Decimal_Number"); } } private string _Decimal_Number; public static FieldInfo decimal_Number = new FieldInfo("TW_mdc_InsPlan", "Decimal_Number");
        [Column]
        public string Old_Material_Code { get { return _Old_Material_Code; } set { _Old_Material_Code = value; EntityState.FieldChange("Old_Material_Code"); } } private string _Old_Material_Code; public static FieldInfo old_Material_Code = new FieldInfo("TW_mdc_InsPlan", "Old_Material_Code");
        [Column]
        public string SAP_Code { get { return _SAP_Code; } set { _SAP_Code = value; EntityState.FieldChange("SAP_Code"); } } private string _SAP_Code; public static FieldInfo sAP_Code = new FieldInfo("TW_mdc_InsPlan", "SAP_Code");
        [Column]
        public string Plant { get { return _Plant; } set { _Plant = value; EntityState.FieldChange("Plant"); } } private string _Plant; public static FieldInfo plant = new FieldInfo("TW_mdc_InsPlan", "Plant");
        [Column]
        public string Work_center { get { return _Work_center; } set { _Work_center = value; EntityState.FieldChange("Work_center"); } } private string _Work_center; public static FieldInfo work_center = new FieldInfo("TW_mdc_InsPlan", "Work_center");
        [Column]
        public string InsPlan_Status { get { return _InsPlan_Status; } set { _InsPlan_Status = value; EntityState.FieldChange("InsPlan_Status"); } } private string _InsPlan_Status; public static FieldInfo insPlan_Status = new FieldInfo("TW_mdc_InsPlan", "InsPlan_Status");
        [Column]
        public string Long_Text { get { return _Long_Text; } set { _Long_Text = value; EntityState.FieldChange("Long_Text"); } } private string _Long_Text; public static FieldInfo long_Text = new FieldInfo("TW_mdc_InsPlan", "Long_Text");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("TW_mdc_InsPlan", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("TW_mdc_InsPlan", "Status");
        [Column]
        public string Group_Counter { get { return _Group_Counter; } set { _Group_Counter = value; EntityState.FieldChange("Group_Counter"); } } private string _Group_Counter; public static FieldInfo group_Counter = new FieldInfo("TW_mdc_InsPlan", "Group_Counter");

    }
}
